package com.qyhl.webtv.module_news.luckydraw.detail;


import com.qyhl.webtv.commonlib.entity.news.LuckDrawInfoBean;

import java.util.List;

/**
 * Created by Administrator on 2018/6/14.
 */

public interface LuckDrawWinnerDetailContract {
    interface LuckDrawWinnerDetailView {
        void setQueryInfoSuccess(boolean isMore, List<LuckDrawInfoBean> beanList);

        void setQueryInfoError(String msg);

        void setEmpty(String msg);

        void setLog(String msg);

        void setNetError(String msg);

        void showToast(String msg);

    }

    interface LuckDrawWinnerDetailPresenter {
        void queryInfo(String phoneNum, String lastId);

        void setQueryInfoSuccess(boolean isMore, List<LuckDrawInfoBean> beanList);

        void setQueryInfoError(int code, String msg);

    }

    interface LuckDrawWinnerDetailModel {
        void queryInfo(String phoneNum, String lastId);

    }
}
